body {
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
@keyframes move {
  100% {
    transform: translateY(-50%);
  }
}
.square::before {
  content: '';
  display: inline-block;
  width: 0.1rem;
  height: 0.2rem;
  border-radius: 0.1rem;
  background-color: greenyellow;
}
.panel {
  position: relative;
  border: 15px solid red;
  border-width: 0.6375rem 0.475rem 0.25rem 1.65rem;
  border-image-source: url(../images/border.png);
  border-image-slice: 51 38 20 132;
}
/* 

    因为边框图片四角有宽度，且宽度各不同，需要使用自绝父相定位，
    使子盒子inner拉绳至父元素的大小
*/
.inner {
  position: absolute;
  top: -0.6375rem;
  left: -1.65rem;
  right: -0.475rem;
  bottom: -0.25rem;
  padding: 0.3rem 0.45rem;
}
/* 父容器 */
.viewport {
  min-width: 1024px;
  max-width: 1920px;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  padding: 1.1rem 0.25rem 0 0.25rem;
  min-height: 780px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.viewport .left {
  flex: 2;
}
.viewport .left .overview {
  height: 1.25rem;
  margin-bottom: 0.25rem;
}
.viewport .left .overview ul {
  display: flex;
  justify-content: space-between;
}
.viewport .left .overview ul h4 {
  font-weight: 400;
  color: #fff;
  text-align: center;
  font-size: 0.275rem;
}
.viewport .left .overview ul span {
  font-size: 0.2rem;
  color: skyblue;
}
.viewport .left .overview ul li:first-child .square::before {
  background-color: #0163fb;
}
.viewport .left .overview ul li:last-child .square::before {
  background-color: red;
}
.viewport .left .monitor {
  height: 6.25rem;
  margin-bottom: 0.25rem;
}
.viewport .left .monitor .tab {
  color: #fff;
  margin-bottom: 0.25rem;
}
.viewport .left .monitor .tab span {
  font-size: 0.25rem;
  cursor: pointer;
}
.viewport .left .monitor .tab span:hover {
  color: skyblue;
}
.viewport .left .monitor .tab .active {
  color: skyblue;
}
.viewport .left .monitor .head1,
.viewport .left .monitor .head2 {
  position: relative;
  color: skyblue;
}
.viewport .left .monitor .head1 .title,
.viewport .left .monitor .head2 .title {
  font-size: 0.2rem;
  display: flex;
  justify-content: space-between;
}
.viewport .left .monitor .head1 .mask,
.viewport .left .monitor .head2 .mask {
  left: -0.45rem;
  top: -0.15rem;
  right: -0.45rem;
  bottom: -0.15rem;
  height: 0.625rem;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
}
.viewport .left .monitor .head1 .content,
.viewport .left .monitor .head2 .content {
  height: 4.5625rem;
  overflow: hidden;
  margin-top: 0.22rem;
}
.viewport .left .monitor .head1 .content ul,
.viewport .left .monitor .head2 .content ul {
  animation: move 7s linear infinite;
}
.viewport .left .monitor .head1 .content ul li,
.viewport .left .monitor .head2 .content ul li {
  display: flex;
  justify-content: space-between;
  font-size: 0.175rem;
  height: 0.45rem;
  color: #fff;
}
.viewport .left .monitor .head1 .content ul li span:nth-of-type(2),
.viewport .left .monitor .head2 .content ul li span:nth-of-type(2) {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 2.5rem;
}
.viewport .left .monitor .head1 .content:hover ul,
.viewport .left .monitor .head2 .content:hover ul {
  animation-play-state: paused;
}
.viewport .left .monitor .head2 {
  display: none;
}
.viewport .left .points {
  position: relative;
  height: 4.4rem;
}
.viewport .left .points h3 {
  color: #fff;
}
.viewport .left .points .pic {
  display: flex;
  justify-content: space-between;
}
.viewport .left .points .acharts {
  width: 3.4rem;
  height: 3rem;
}
.viewport .left .points .info {
  border-radius: 0 0.25rem 0 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 2rem;
  height: 3rem;
  background: url(../images/rect.png);
}
.viewport .left .points .info span {
  color: skyblue;
}
.viewport .main {
  flex: 3;
  margin: 0.5rem 0.25rem 0rem 0.25rem;
}
.viewport .main .location {
  height: 7.1875rem;
  margin-bottom: 0.25rem;
  color: #fff;
}
.viewport .main .location .geo {
  height: 6.875rem;
}
.viewport .main .location span {
  font-size: 0.25rem;
}
.viewport .main .location > h3 {
  font-size: 0.25rem;
  font-weight: 400;
}
.viewport .main .user {
  height: 4.5rem;
}
.viewport .main .user h3 {
  color: #fff;
  font-weight: 400;
  font-size: 0.25rem;
}
.viewport .main .user .pic {
  display: flex;
  justify-content: space-between;
}
.viewport .main .user .chart {
  width: 6.25rem;
  height: 4rem;
}
.viewport .main .user .info {
  color: #fff;
  border-radius: 0 0.25rem 0 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 2.5rem;
  height: 3rem;
  background: url(../images/rect.png);
}
.viewport .main .user .info span {
  color: skyblue;
}
.viewport .main .user .info h3 {
  font-size: 0.25rem;
  font-weight: 400;
}
.viewport .main .user .info .usercnt i::before {
  background-color: red;
}
.viewport .main .user .info .incre i::before {
  background-color: yellow;
}
.viewport .right {
  flex: 2;
}
.viewport .right .order {
  height: 1.75rem;
  margin-bottom: 0.25rem;
}
.viewport .right .order .tab-time {
  color: skyblue;
}
.viewport .right .order .tab-time .time {
  display: flex;
  width: 3.75rem;
  justify-content: space-between;
  margin-bottom: 0.125rem;
}
.viewport .right .order .tab-time .time li {
  font-size: 0.225rem;
  cursor: pointer;
}
.viewport .right .order .tab-time .time li:hover {
  color: #fff;
}
.viewport .right .order .tab-time .time li.active {
  color: #fff;
}
.viewport .right .order .tab-time .content {
  width: 3.75rem;
  justify-content: space-between;
  display: none;
}
.viewport .right .order .tab-time .content h3 {
  color: #fff;
  font-size: 0.275rem;
  font-weight: 400;
  text-align: center;
}
.viewport .right .order .tab-time .content span.square::before {
  width: 0.075rem;
  height: 0.15rem;
}
.viewport .right .order .tab-time .content span {
  font-size: 0.175rem;
}
.viewport .right .order .tab-time .content .salecnt span.square::before {
  background-color: red;
}
.viewport .right .order .tab-time .content.current {
  display: flex;
}
.viewport .right .sale {
  height: 3.125rem;
  margin-bottom: 0.25rem;
}
.viewport .right .sale .header {
  display: flex;
  color: skyblue;
  align-items: center;
}
.viewport .right .sale .header h3 {
  color: #fff;
  font-size: 0.275rem;
  font-weight: 400;
}
.viewport .right .sale .header .h-season {
  display: flex;
  width: 1.875rem;
  justify-content: space-between;
}
.viewport .right .sale .header .h-season li {
  width: 0.3rem;
  height: 0.3rem;
  font-size: 0.225rem;
  text-align: center;
  cursor: pointer;
}
.viewport .right .sale .header .h-season li.active {
  color: #fff;
  background-color: #3bc8ff;
}
.viewport .right .sale .chart {
  height: 2.1875rem;
}
.viewport .right .saleroad {
  margin-bottom: 0.25rem;
  height: 3.125rem;
  display: flex;
  justify-content: space-between;
}
.viewport .right .saleroad div.road {
  margin-right: 0.25rem;
  flex: 4;
  color: #fff;
}
.viewport .right .saleroad div.road h3 {
  font-size: 0.25rem;
  font-weight: 400;
}
.viewport .right .saleroad div.road .chart {
  height: 2.1875rem;
}
.viewport .right .saleroad div.season {
  position: relative;
  flex: 5;
  color: #fff;
}
.viewport .right .saleroad div.season h3 {
  font-size: 0.25rem;
  font-weight: 400;
}
.viewport .right .saleroad div.season h2 {
  transform: translateY(-310%);
  font-weight: 400;
  text-align: center;
}
.viewport .right .saleroad div.season .info {
  transform: translateY(-200%);
  display: flex;
  justify-content: space-between;
}
.viewport .right .saleroad div.season .info span {
  font-size: 0.15rem;
}
.viewport .right .saleroad div.season .info span.square::before {
  width: 0.075rem;
  height: 0.15rem;
}
.viewport .right .saleroad div.season .info .incre span.square::before {
  background-color: red;
}
.viewport .right .saleroad div.season .chart {
  height: 2.1875rem;
}
.viewport .right .rank {
  height: 3.75rem;
  color: #fff;
}
.viewport .right .rank .r-header {
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
}
.viewport .right .rank .r-header h3 {
  font-size: 0.25rem;
  font-weight: 400;
}
.viewport .right .rank .r-header h3:nth-of-type(2) {
  margin-left: -0.875rem;
}
.viewport .right .rank .r-header p {
  margin-top: 0.125rem;
  font-size: 0.15rem;
  color: #4c9bfd;
}
.viewport .right .rank .infos {
  display: flex;
  justify-content: space-between;
}
.viewport .right .rank .infos .all ul,
.viewport .right .rank .infos .province ul,
.viewport .right .rank .infos .province2 ul {
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.viewport .right .rank .infos .all {
  font-size: 0.225rem;
  color: #4c9bfd;
  flex: 1;
}
.viewport .right .rank .infos .all ul {
  padding-bottom: 0.125rem;
}
.viewport .right .rank .infos .province {
  margin-top: -0.125rem;
  font-size: 0.2rem;
  color: #4c9bfd;
  flex: 1;
  padding: 0.0875rem;
}
.viewport .right .rank .infos .province li {
  padding: 0.025rem;
  height: 0.375rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.viewport .right .rank .infos .province li:hover {
  background-color: rgba(10, 67, 188, 0.2);
}
.viewport .right .rank .infos .province li.active {
  background-color: rgba(10, 67, 188, 0.2);
}
.viewport .right .rank .infos .province2 {
  margin-left: -0.0875rem;
  color: skyblue;
  margin-top: -0.125rem;
  font-size: 0.2rem;
  background-image: url(../images/rect.png);
  flex: 1;
  padding: 0.0875rem;
}
.viewport .right .rank .infos .province2 li {
  display: flex;
  justify-content: space-between;
}
.viewport .right .rank .infos .province2 ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
